/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       buy_building_detail.h

	$Header: /game/buy_building_detail.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef BUY_BUILDING_DETAIL_H_INCLUDED
#define BUY_BUILDING_DETAIL_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "bitmap_group_ptr.h"
#include "dialog_box.h"

class t_material_array;
class t_town;
enum  t_town_building;

class t_buy_building_detail : public t_window
{
public:
	t_buy_building_detail( t_town* town, t_town_building building, t_window* parent );
protected:
	void buy( t_button* );
	void cancel( t_button* );
	void create_material_icons( t_material_array const& cost );

	t_bitmap_group_ptr m_thumbnails;
	t_bitmap_group_ptr m_layout;
	t_bitmap_group_ptr m_materials;
};

#endif // BUY_BUILDING_DETAIL_H_INCLUDED

